﻿<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<?php require_once('header.html')?>
<script>
    UE.getEditor('acontents');
</script>
<div id="dcMain">
    <!-- 当前位置 -->
    <div id="urHere">DouPHP 管理中心<b>></b><strong>文章添加</strong> </div>   <div id="manager" class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
        <h3><a href="<?php echo site_url('admin/article/articlelist')?>" class="actionBtn">返回列表</a>文章添加</h3>
        <form action="<?php echo site_url('admin/article/add_article')?>" method="post">
            <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
                <tr>
                    <td width="100" align="right">文章名称</td>
                    <td>
                        <input type="text" name="atitle" size="40" class="inpMain" value="" />
                    </td>
                </tr>
                <tr>
                    <td width="100" align="right">文章类别</td>
                    <td>
                       <select name="cid">
                           <?php foreach($artcate as $cateItem):?>
                           <option value="<?php echo $cateItem['cid'];?>"><?php echo $cateItem['ctitle'];?></option>
                           <?php endforeach;?>
                       </select>
                    </td>
                </tr>
                <tr>
                    <td align="right">内容</td>
                    <td>

                        <textarea name="acontents" id="acontents" style="height:500px;width:700px;"></textarea>
                    </td>
                </tr>
                <tr>
                    <td align="right">热点</td>
                    <td>
                        <select name="aishot">
                            <option value="1">是</option>
                            <option value="0" selected="selected">否</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <input type="submit" class="btn" value="添加" />
                    </td>
                </tr>
            </table>
        </form>
    </div>
</div>